<template>
  <div>
    <div class="nav">
      <div class="img">
        <img :src="'http://liufusong.top:8080'+item.houseImg" alt="" />
      </div>
      <div class="right">
        <h3>{{item.title}}</h3>
        <span>{{item.desc}}</span>
        <span class="a1">{{item.tags}}</span>
        <div class="HouseItem_price__1_r8v">
          <span class="HouseItem_priceNum__RGpsE">{{item.price}}</span>
           元/月
        </div>
      </div>
    </div>
  </div>
</template>
<script>
export default {
  props: {
    item: {
      type: Object,
      default: () => ({})
    }
  }
}
</script>

<style>
.right{
  /* display:flex; */

  overflow: hidden;
  padding-left: 30px;
  line-height: 22px;
  padding-left: 12px;
}
.nav {
  height: 120px;
  position: relative;
  box-sizing: border-box;
  justify-content: space-around;
  padding-top: 18px;
  border-bottom: 1px solid #e5e5e5;
}
.img {
      float: left;
  width: 106px;
  height: 80px;
}
img{
  width: 100%;
}
h3 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: middle;
  margin: 0;
  font-size: 15px;
  color: #394043;
}
span {
  font-size: 12px;
  color: #afb2b3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: middle;
}
.a1{
      color: #39becd;
    background: #e1f5f8;
    display: inline-block;
    font-size: 12px;
    border-radius: 3px;
    padding: 4px 5px;
    margin-right: 5px;
    line-height: 12px;
}
.HouseItem_priceNum__RGpsE{
  font-size: 16px;
    font-weight: bolder;
}
.HouseItem_price__1_r8v{
      font-size: 12px;
    color: #fa5741;
}
</style>